package com.xzj.spring.server;

import com.xzj.spring.annotation.Autowired;
import com.xzj.spring.annotation.Mytest;

/**
 * @ProjectName: SpringDemo
 * @Package: com.xzj.impl
 * @ClassName: AServer
 * @Author: xzj
 * @Description:
 * @Date: 2022/7/8 8:48
 * @Version: 1.0
 */
@Mytest("12345r")
//@Scope("property")
public class AServer implements IServer{

    @Autowired
    private BServer bcdServer;

    public void print(){
        System.out.println("A中的："+bcdServer);
    }

    @Override
    public void saveLog() {
        System.out.println("保存日志");
    }
}
